package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyMdYydzDetail;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyMdYydzDetailParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdYydzDetailResult;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyMdYydzResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 营业额报备详情表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-12-03
 */
public interface BtyMdYydzDetailMapper extends BaseMapper<BtyMdYydzDetail> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2021-12-03
     */
    List<BtyMdYydzDetailResult> customList(@Param("paramCondition") BtyMdYydzDetailParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2021-12-03
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyMdYydzDetailParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2021-12-03
     */
    Page<BtyMdYydzDetailResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyMdYydzDetailParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2021-12-03
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyMdYydzDetailParam paramCondition);

    Page<BtyMdYydzDetailResult> reprotList(@Param("page") Page pageContext, @Param("param") BtyMdYydzDetailParam btyMdYydzDetailParam);

    Page<BtyMdYydzDetailResult> noReplyList(@Param("page") Page pageContext, @Param("param") BtyMdYydzDetailParam btyMdYydzDetailParam);

    Page<BtyMdYydzDetailResult> replyList(@Param("page") Page pageContext, @Param("param") BtyMdYydzDetailParam btyMdYydzDetailParam);

    List<Map> getSta(@Param("list") List<BtyMdYydzResult> dataList, @Param("date") String date);

    List<Map> getDetail();
}
